import http from "@/api";

/**
 * @name 每日数据
 */
// 每日数据列表
export const summariesListApi = (params) => {
  return http.get(`/api/v1/summaries`, {...params}, { loading: true });
};
// 每日数据成本
export const summariesInfoApi = (id) => {
  return http.get(`/api/v1/summaries/` + id + `/costs`, { loading: true });
};
// 删除每日数据
export const summariesDelApi = (id) => {
  return http.delete(`/api/v1/summaries/` + id, {}, { loading: true });
};